package bookstudytest.random;

import java.util.concurrent.ThreadLocalRandom;

public class RandomDemo {
    public static void main(String[] args) {
        ThreadLocalRandom current = ThreadLocalRandom.current();
        for (int i = 100000; i > 0; i--) {
//          生成的随机数包含origin，不包含bound
            System.out.println(current.nextInt(100000,100020));
        }
    }
}
